package com.mall.shopping.utils;

import com.mall.commons.result.AbstractResponse;
import com.mall.shopping.constants.ShoppingRetCode;

/**
 * @Author: 逍遥子
 * @Date: 2022/01/20/14:38
 * @Description:
 */
public class ResponseProcessUtils {

    public static void wrapperHandlerSuccessResponse(AbstractResponse response){
        // 加工处理
        response.setCode(ShoppingRetCode.SUCCESS.getCode());
        response.setMsg(ShoppingRetCode.SUCCESS.getMessage());

    }
}
